package net.togogo.web.mapper;

import net.togogo.web.entity.Online;
import net.togogo.web.entity.OnlineExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OnlineMapper {
    long countByExample(OnlineExample example);

    int deleteByExample(OnlineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Online record);

    int insertSelective(Online record);

    List<Online> selectByExample(OnlineExample example);

    Online selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Online record, @Param("example") OnlineExample example);

    int updateByExample(@Param("record") Online record, @Param("example") OnlineExample example);

    int updateByPrimaryKeySelective(Online record);

    int updateByPrimaryKey(Online record);
}